﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="WorflowApproveCandidates.WorkFlowApproveCandidate.Workflow" sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#" sap2010:WorkflowViewState.IdRef="WorflowApproveCandidates.WorkFlowApproveCandidate.Workflow_1"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:msdad="clr-namespace:Microsoft.SharePoint.DesignTime.Activities.Design;assembly=Microsoft.SharePoint.DesignTime.Activities.Design"
 xmlns:p="http://schemas.microsoft.com/workflow/2012/07/xaml/activities"
 xmlns:p1="wf://workflow.windows.net/$Activities"
 xmlns:s="clr-namespace:System;assembly=mscorlib"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Text</x:String>
      <x:String>Microsoft.Activities</x:String>
      <x:String>System.Collections.ObjectModel</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>Microsoft.Activities</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint.DesignTime.Activities</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint.DesignTime.Activities.Design</AssemblyReference>
      <AssemblyReference>PresentationFramework</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Drawing</AssemblyReference>
      <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint</AssemblyReference>
      <AssemblyReference>Microsoft.SharePoint.Client.ServerRuntime</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>WorflowApproveCandidates</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Sequence DisplayName="Main" sap2010:WorkflowViewState.IdRef="Sequence_1">
    <Sequence.Variables>
      <Variable x:TypeArguments="p:DynamicValue" Name="GetItemOpportunityCreated" />
      <Variable x:TypeArguments="x:Int32" Name="CandidateJobSelectedId" />
      <Variable x:TypeArguments="x:String" Name="CandidateFirstName" />
      <Variable x:TypeArguments="x:String" Name="CandidateLastName" />
      <Variable x:TypeArguments="x:String" Name="CandidateEmail" />
      <Variable x:TypeArguments="x:String" Name="CantiidateCv" />
      <Variable x:TypeArguments="x:String" Name="CandidateSalary" />
      <Variable x:TypeArguments="p:DynamicValue" Name="OpportunityJobSelected" />
      <Variable x:TypeArguments="x:String" Name="PositionSelectedName" />
      <Variable x:TypeArguments="x:String" Name="PositionSelectedDescription" />
      <Variable x:TypeArguments="x:Int32" Name="PositionSelectedOwnerId" />
      <Variable x:TypeArguments="p:DynamicValue" Name="GetPropertiesUserPostulaed" />
      <Variable x:TypeArguments="p:DynamicValue" Name="ExisteCandidateInDataBase" />
      <Variable x:TypeArguments="x:String" Name="CandidateLastNameFromDataBase" />
      <Variable x:TypeArguments="x:Int32" Name="CandidateUserId" />
      <Variable x:TypeArguments="p:DynamicValue" Name="CandidateUserProperties" />
      <Variable x:TypeArguments="x:Int32" Name="TaskForManagerWasApproved" />
    </Sequence.Variables>
    <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_1" Message="Esto es una prueba" />
    <p1:LookupSPListItem ItemGuid="{x:Null}" Properties="{x:Null}" sap2010:WorkflowViewState.IdRef="LookupSPListItem_1">
      <p1:LookupSPListItem.ItemId>
        <InArgument x:TypeArguments="x:Int32">
          <p:ExpressionContainerValue x:TypeArguments="x:Int32">
            <p1:GetCurrentItemId />
          </p:ExpressionContainerValue>
        </InArgument>
      </p1:LookupSPListItem.ItemId>
      <p1:LookupSPListItem.ListId>
        <InArgument x:TypeArguments="s:Guid">
          <p:ExpressionContainerValue x:TypeArguments="s:Guid">
            <p1:GetCurrentListId />
          </p:ExpressionContainerValue>
        </InArgument>
      </p1:LookupSPListItem.ListId>
      <p1:LookupSPListItem.Result>
        <OutArgument x:TypeArguments="p:DynamicValue">
          <mca:CSharpReference x:TypeArguments="p:DynamicValue">GetItemOpportunityCreated</mca:CSharpReference>
        </OutArgument>
      </p1:LookupSPListItem.Result>
    </p1:LookupSPListItem>
    <p:GetODataProperties DisplayName="GetDynamicValueProperties" sap2010:WorkflowViewState.IdRef="GetODataProperties_1">
      <p:GetODataProperties.Source>
        <InArgument x:TypeArguments="p:DynamicValue">
          <mca:CSharpValue x:TypeArguments="p:DynamicValue">GetItemOpportunityCreated</mca:CSharpValue>
        </InArgument>
      </p:GetODataProperties.Source>
      <scg:Dictionary x:TypeArguments="x:String, OutArgument">
        <OutArgument x:TypeArguments="x:Int32" x:Key="OpenPositionId">
          <mca:CSharpReference x:TypeArguments="x:Int32">CandidateJobSelectedId</mca:CSharpReference>
        </OutArgument>
        <OutArgument x:TypeArguments="x:String" x:Key="FirstName">
          <mca:CSharpReference x:TypeArguments="x:String">CandidateFirstName</mca:CSharpReference>
        </OutArgument>
        <OutArgument x:TypeArguments="x:String" x:Key="LinkTitleNoMenu">
          <mca:CSharpReference x:TypeArguments="x:String">CandidateLastName</mca:CSharpReference>
        </OutArgument>
        <OutArgument x:TypeArguments="x:String" x:Key="CV">
          <mca:CSharpReference x:TypeArguments="x:String">CantiidateCv</mca:CSharpReference>
        </OutArgument>
        <OutArgument x:TypeArguments="x:String" x:Key="Salary">
          <mca:CSharpReference x:TypeArguments="x:String">CandidateSalary</mca:CSharpReference>
        </OutArgument>
        <OutArgument x:TypeArguments="x:Int32" x:Key="AuthorId">
          <mca:CSharpReference x:TypeArguments="x:Int32">CandidateUserId</mca:CSharpReference>
        </OutArgument>
      </scg:Dictionary>
    </p:GetODataProperties>
    <p1:LookupSPUser sap2010:WorkflowViewState.IdRef="LookupSPUser_2">
      <p1:LookupSPUser.PrincipalId>
        <InArgument x:TypeArguments="x:Int32">
          <mca:CSharpValue x:TypeArguments="x:Int32">CandidateUserId</mca:CSharpValue>
        </InArgument>
      </p1:LookupSPUser.PrincipalId>
      <p1:LookupSPUser.Result>
        <OutArgument x:TypeArguments="p:DynamicValue">
          <mca:CSharpReference x:TypeArguments="p:DynamicValue">CandidateUserProperties</mca:CSharpReference>
        </OutArgument>
      </p1:LookupSPUser.Result>
    </p1:LookupSPUser>
    <p:GetODataProperties DisplayName="GetDynamicValueProperties" sap2010:WorkflowViewState.IdRef="GetODataProperties_4">
      <p:GetODataProperties.Source>
        <InArgument x:TypeArguments="p:DynamicValue">
          <mca:CSharpValue x:TypeArguments="p:DynamicValue">CandidateUserProperties</mca:CSharpValue>
        </InArgument>
      </p:GetODataProperties.Source>
      <scg:Dictionary x:TypeArguments="x:String, OutArgument">
        <OutArgument x:TypeArguments="x:String" x:Key="Email">
          <mca:CSharpReference x:TypeArguments="x:String">CandidateEmail</mca:CSharpReference>
        </OutArgument>
      </scg:Dictionary>
    </p:GetODataProperties>
    <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_2">
      <p1:WriteToHistory.Message>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">"Datos: " + CandidateFirstName + " " + CandidateLastName + " " + CandidateEmail</mca:CSharpValue>
        </InArgument>
      </p1:WriteToHistory.Message>
    </p1:WriteToHistory>
    <p:HttpSend sap2010:WorkflowViewState.IdRef="HttpSend_2" Method="GET">
      <p:HttpSend.RequestHeaders>
        <InArgument x:TypeArguments="p:DynamicValue">
          <p:SetDynamicValueProperties>
            <scg:Dictionary x:TypeArguments="x:String, InArgument">
              <InArgument x:TypeArguments="x:String" x:Key="Content-Type">application/json; charset=utf-8</InArgument>
            </scg:Dictionary>
          </p:SetDynamicValueProperties>
        </InArgument>
      </p:HttpSend.RequestHeaders>
      <p:HttpSend.ResponseContent>
        <OutArgument x:TypeArguments="p:DynamicValue">
          <mca:CSharpReference x:TypeArguments="p:DynamicValue">ExisteCandidateInDataBase</mca:CSharpReference>
        </OutArgument>
      </p:HttpSend.ResponseContent>
      <p:HttpSend.Uri>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">string.Format("http://services.odata.org/Northwind/Northwind.svc/Employees?$select=LastName,FirstName&amp;$filter=LastName eq '{0}'&amp;$format=json", CandidateLastName)</mca:CSharpValue>
        </InArgument>
      </p:HttpSend.Uri>
    </p:HttpSend>
    <p:GetDynamicValueProperty x:TypeArguments="x:String" sap2010:WorkflowViewState.IdRef="GetDynamicValueProperty`1_1" PropertyName="d/results(0)/LastName">
      <p:GetDynamicValueProperty.Result>
        <OutArgument x:TypeArguments="x:String">
          <mca:CSharpReference x:TypeArguments="x:String">CandidateLastNameFromDataBase</mca:CSharpReference>
        </OutArgument>
      </p:GetDynamicValueProperty.Result>
      <p:GetDynamicValueProperty.Source>
        <InArgument x:TypeArguments="p:DynamicValue">
          <mca:CSharpValue x:TypeArguments="p:DynamicValue">ExisteCandidateInDataBase</mca:CSharpValue>
        </InArgument>
      </p:GetDynamicValueProperty.Source>
    </p:GetDynamicValueProperty>
    <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_4">
      <p1:WriteToHistory.Message>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">"Exist User in DataBae: " + CandidateLastNameFromDataBase</mca:CSharpValue>
        </InArgument>
      </p1:WriteToHistory.Message>
    </p1:WriteToHistory>
    <If sap2010:WorkflowViewState.IdRef="If_1">
      <If.Condition>
        <InArgument x:TypeArguments="x:Boolean">
          <mca:CSharpValue x:TypeArguments="x:Boolean">CandidateLastName == CandidateLastNameFromDataBase</mca:CSharpValue>
        </InArgument>
      </If.Condition>
      <If.Then>
        <Sequence DisplayName="User Exist en Data Base" sap2010:WorkflowViewState.IdRef="Sequence_2">
          <Sequence.Variables>
            <Variable x:TypeArguments="x:Int32" Name="TaskForOwnerWasApproved" />
            <Variable x:TypeArguments="x:String" Name="OwnerPositionLoginAccount" />
            <Variable x:TypeArguments="sco:Collection(x:String)" Name="ColEmailCandidate" />
          </Sequence.Variables>
          <p:HttpSend sap2010:WorkflowViewState.IdRef="HttpSend_1" Method="GET">
            <p:HttpSend.RequestHeaders>
              <InArgument x:TypeArguments="p:DynamicValue">
                <p:SetDynamicValueProperties>
                  <scg:Dictionary x:TypeArguments="x:String, InArgument">
                    <InArgument x:TypeArguments="x:String" x:Key="Accept">application/json; odata=verbose</InArgument>
                    <InArgument x:TypeArguments="x:String" x:Key="Content-Type">application/json; odata=verbose</InArgument>
                  </scg:Dictionary>
                </p:SetDynamicValueProperties>
              </InArgument>
            </p:HttpSend.RequestHeaders>
            <p:HttpSend.ResponseContent>
              <OutArgument x:TypeArguments="p:DynamicValue">
                <mca:CSharpReference x:TypeArguments="p:DynamicValue">OpportunityJobSelected</mca:CSharpReference>
              </OutArgument>
            </p:HttpSend.ResponseContent>
            <p:HttpSend.Uri>
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">string.Format("http://spswfe/_api/web/lists/getbytitle('Jobs Opportunities')/items?$filter=ID eq {0}", CandidateJobSelectedId)</mca:CSharpValue>
              </InArgument>
            </p:HttpSend.Uri>
          </p:HttpSend>
          <p:GetODataProperties DisplayName="GetDynamicValueProperties" sap2010:WorkflowViewState.IdRef="GetODataProperties_2">
            <p:GetODataProperties.Source>
              <InArgument x:TypeArguments="p:DynamicValue">
                <mca:CSharpValue x:TypeArguments="p:DynamicValue">OpportunityJobSelected</mca:CSharpValue>
              </InArgument>
            </p:GetODataProperties.Source>
            <scg:Dictionary x:TypeArguments="x:String, OutArgument">
              <OutArgument x:TypeArguments="x:String" x:Key="d/results(0)/Title">
                <mca:CSharpReference x:TypeArguments="x:String">PositionSelectedName</mca:CSharpReference>
              </OutArgument>
              <OutArgument x:TypeArguments="x:Int32" x:Key="d/results(0)/ReportOwnerId">
                <mca:CSharpReference x:TypeArguments="x:Int32">PositionSelectedOwnerId</mca:CSharpReference>
              </OutArgument>
              <OutArgument x:TypeArguments="x:String" x:Key="d/results(0)/CategoryDescription">
                <mca:CSharpReference x:TypeArguments="x:String">PositionSelectedDescription</mca:CSharpReference>
              </OutArgument>
            </scg:Dictionary>
          </p:GetODataProperties>
          <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_3">
            <p1:WriteToHistory.Message>
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">"Datos: Position: " + PositionSelectedName + " Owner: " + PositionSelectedOwnerId + " Position Desc: " + PositionSelectedDescription</mca:CSharpValue>
              </InArgument>
            </p1:WriteToHistory.Message>
          </p1:WriteToHistory>
          <p1:LookupSPUser sap2010:WorkflowViewState.IdRef="LookupSPUser_1">
            <p1:LookupSPUser.PrincipalId>
              <InArgument x:TypeArguments="x:Int32">
                <mca:CSharpValue x:TypeArguments="x:Int32">PositionSelectedOwnerId</mca:CSharpValue>
              </InArgument>
            </p1:LookupSPUser.PrincipalId>
            <p1:LookupSPUser.Result>
              <OutArgument x:TypeArguments="p:DynamicValue">
                <mca:CSharpReference x:TypeArguments="p:DynamicValue">GetPropertiesUserPostulaed</mca:CSharpReference>
              </OutArgument>
            </p1:LookupSPUser.Result>
          </p1:LookupSPUser>
          <p:GetODataProperties DisplayName="GetDynamicValueProperties" sap2010:WorkflowViewState.IdRef="GetODataProperties_3">
            <p:GetODataProperties.Source>
              <InArgument x:TypeArguments="p:DynamicValue">
                <mca:CSharpValue x:TypeArguments="p:DynamicValue">GetPropertiesUserPostulaed</mca:CSharpValue>
              </InArgument>
            </p:GetODataProperties.Source>
            <scg:Dictionary x:TypeArguments="x:String, OutArgument">
              <OutArgument x:TypeArguments="x:String" x:Key="LoginName">
                <mca:CSharpReference x:TypeArguments="x:String">OwnerPositionLoginAccount</mca:CSharpReference>
              </OutArgument>
            </scg:Dictionary>
          </p:GetODataProperties>
          <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_6">
            <p1:WriteToHistory.Message>
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">"Login Name: " + OwnerPositionLoginAccount</mca:CSharpValue>
              </InArgument>
            </p1:WriteToHistory.Message>
          </p1:WriteToHistory>
          <AddToCollection x:TypeArguments="x:String" DisplayName="AddToCollection&lt;String&gt;" sap2010:WorkflowViewState.IdRef="AddToCollection`1_1">
            <AddToCollection.Item>
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">CandidateEmail</mca:CSharpValue>
              </InArgument>
            </AddToCollection.Item>
            <InArgument x:TypeArguments="scg:ICollection(x:String)">
              <mca:CSharpValue x:TypeArguments="scg:ICollection(x:String)">ColEmailCandidate</mca:CSharpValue>
            </InArgument>
          </AddToCollection>
          <p1:SingleTask DueDate="{x:Null}" TaskId="{x:Null}" TaskItemId="{x:Null}" AssignmentEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;You have a new task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" AssignmentEmailSubject="Task Assigned" CancelationEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;One of your tasks was canceled and deleted. You do not need to take any further action on that task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" CancelationEmailSubject="Task Canceled" CompletedStatus="Completed" ContentTypeId="0x0108003365C4474CAE8C42BCE396314E88E51F" DefaultTaskOutcome="0" sap2010:WorkflowViewState.IdRef="SingleTask_1" OutcomeFieldName="TaskOutcome" OverdueEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;You have an &lt;/span&gt;&lt;span style='font-size:13.5pt;color:#ff3b3b;'&gt;overdue&lt;/span&gt;&lt;span style='font-size:13.5pt'&gt; task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" OverdueEmailSubject="Task Overdue" OverdueReminderRepeat="1" OverdueRepeatTimes="1" SendReminderEmail="True" WaitForTaskCompletion="True">
            <p1:SingleTask.AssignedTo>
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">OwnerPositionLoginAccount</mca:CSharpValue>
              </InArgument>
            </p1:SingleTask.AssignedTo>
            <p1:SingleTask.Body>
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">"There is a candidate for position " + PositionSelectedName + " with the following requeriments: " + PositionSelectedDescription</mca:CSharpValue>
              </InArgument>
            </p1:SingleTask.Body>
            <p1:SingleTask.Outcome>
              <OutArgument x:TypeArguments="x:Int32">
                <mca:CSharpReference x:TypeArguments="x:Int32">TaskForOwnerWasApproved</mca:CSharpReference>
              </OutArgument>
            </p1:SingleTask.Outcome>
            <p1:SingleTask.RelatedContentLinkListId>
              <InArgument x:TypeArguments="s:Guid">
                <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                  <p1:GetCurrentListId />
                </p:ExpressionContainerValue>
              </InArgument>
            </p1:SingleTask.RelatedContentLinkListId>
            <p1:SingleTask.RelatedContentLinkListItemId>
              <InArgument x:TypeArguments="s:Guid">
                <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                  <p1:GetCurrentItemGuid />
                </p:ExpressionContainerValue>
              </InArgument>
            </p1:SingleTask.RelatedContentLinkListItemId>
            <p1:SingleTask.RelatedContentLinkListItemIntegerId>
              <InArgument x:TypeArguments="x:Int32">
                <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                  <p1:GetCurrentItemId />
                </p:ExpressionContainerValue>
              </InArgument>
            </p1:SingleTask.RelatedContentLinkListItemIntegerId>
            <p1:SingleTask.Title>
              <InArgument x:TypeArguments="x:String">
                <mca:CSharpValue x:TypeArguments="x:String">"Candidate for position: " + PositionSelectedName + " was created"</mca:CSharpValue>
              </InArgument>
            </p1:SingleTask.Title>
          </p1:SingleTask>
          <If sap2010:WorkflowViewState.IdRef="If_3">
            <If.Condition>
              <InArgument x:TypeArguments="x:Boolean">
                <mca:CSharpValue x:TypeArguments="x:Boolean">TaskForOwnerWasApproved == 0</mca:CSharpValue>
              </InArgument>
            </If.Condition>
            <If.Then>
              <Sequence DisplayName="OwnerApproved" sap2010:WorkflowViewState.IdRef="Sequence_6">
                <p1:UpdateListItem ItemGuid="{x:Null}" ListItemProperties="{x:Null}" sap2010:WorkflowViewState.IdRef="UpdateListItem_1">
                  <p1:UpdateListItem.ItemId>
                    <InArgument x:TypeArguments="x:Int32">
                      <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                        <p1:GetCurrentItemId />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:UpdateListItem.ItemId>
                  <p1:UpdateListItem.ListId>
                    <InArgument x:TypeArguments="s:Guid">
                      <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                        <p1:GetCurrentListId />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:UpdateListItem.ListId>
                  <p1:UpdateListItem.ListItemPropertiesDynamicValue>
                    <InArgument x:TypeArguments="p:DynamicValue">
                      <p:SetDynamicValueProperties>
                        <scg:Dictionary x:TypeArguments="x:String, InArgument">
                          <InArgument x:TypeArguments="x:String" x:Key="ApproveOwernerPossition">Approved</InArgument>
                        </scg:Dictionary>
                      </p:SetDynamicValueProperties>
                    </InArgument>
                  </p1:UpdateListItem.ListItemPropertiesDynamicValue>
                </p1:UpdateListItem>
                <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_7">
                  <p1:WriteToHistory.Message>
                    <InArgument x:TypeArguments="x:String">
                      <mca:CSharpValue x:TypeArguments="x:String">"The User: " + CandidateFirstName + " " + CandidateLastName + " was aprroved"</mca:CSharpValue>
                    </InArgument>
                  </p1:WriteToHistory.Message>
                </p1:WriteToHistory>
                <p1:SingleTask DueDate="{x:Null}" TaskId="{x:Null}" TaskItemId="{x:Null}" AssignmentEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;You have a new task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" AssignmentEmailSubject="Task Assigned" CancelationEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;One of your tasks was canceled and deleted. You do not need to take any further action on that task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" CancelationEmailSubject="Task Canceled" CompletedStatus="Completed" ContentTypeId="0x0108003365C4474CAE8C42BCE396314E88E51F" DefaultTaskOutcome="0" sap2010:WorkflowViewState.IdRef="SingleTask_2" OutcomeFieldName="TaskOutcome" OverdueEmailBody="&lt;html&gt;&lt;body style='font-size:11pt;font-family:Segoe UI Light,sans-serif;color:#444444;'&gt;&lt;div&gt;&lt;span style='font-size:13.5pt'&gt;You have an &lt;/span&gt;&lt;span style='font-size:13.5pt;color:#ff3b3b;'&gt;overdue&lt;/span&gt;&lt;span style='font-size:13.5pt'&gt; task.&lt;/span&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;" OverdueEmailSubject="Task Overdue" OverdueReminderRepeat="1" OverdueRepeatTimes="1" SendReminderEmail="True" WaitForTaskCompletion="True">
                  <p1:SingleTask.AssignedTo>
                    <InArgument x:TypeArguments="x:String">
                      <mca:CSharpValue x:TypeArguments="x:String">OwnerPositionLoginAccount</mca:CSharpValue>
                    </InArgument>
                  </p1:SingleTask.AssignedTo>
                  <p1:SingleTask.Body>
                    <InArgument x:TypeArguments="x:String">
                      <mca:CSharpValue x:TypeArguments="x:String">"There is a candidate for position " + PositionSelectedName + " with the following requeriments: " + PositionSelectedDescription</mca:CSharpValue>
                    </InArgument>
                  </p1:SingleTask.Body>
                  <p1:SingleTask.Outcome>
                    <OutArgument x:TypeArguments="x:Int32">
                      <mca:CSharpReference x:TypeArguments="x:Int32">TaskForManagerWasApproved</mca:CSharpReference>
                    </OutArgument>
                  </p1:SingleTask.Outcome>
                  <p1:SingleTask.RelatedContentLinkListId>
                    <InArgument x:TypeArguments="s:Guid">
                      <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                        <p1:GetCurrentListId />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:SingleTask.RelatedContentLinkListId>
                  <p1:SingleTask.RelatedContentLinkListItemId>
                    <InArgument x:TypeArguments="s:Guid">
                      <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                        <p1:GetCurrentItemGuid />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:SingleTask.RelatedContentLinkListItemId>
                  <p1:SingleTask.RelatedContentLinkListItemIntegerId>
                    <InArgument x:TypeArguments="x:Int32">
                      <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                        <p1:GetCurrentItemId />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:SingleTask.RelatedContentLinkListItemIntegerId>
                  <p1:SingleTask.Title>
                    <InArgument x:TypeArguments="x:String">
                      <mca:CSharpValue x:TypeArguments="x:String">"Candidate for position: " + PositionSelectedName + " was created"</mca:CSharpValue>
                    </InArgument>
                  </p1:SingleTask.Title>
                </p1:SingleTask>
                <If sap2010:WorkflowViewState.IdRef="If_2">
                  <If.Condition>
                    <InArgument x:TypeArguments="x:Boolean">
                      <mca:CSharpValue x:TypeArguments="x:Boolean">TaskForManagerWasApproved == 0</mca:CSharpValue>
                    </InArgument>
                  </If.Condition>
                  <If.Then>
                    <Sequence DisplayName="Postulation Approved Manager" sap2010:WorkflowViewState.IdRef="Sequence_4">
                      <p1:UpdateListItem ItemGuid="{x:Null}" ListItemProperties="{x:Null}" sap2010:WorkflowViewState.IdRef="UpdateListItem_2">
                        <p1:UpdateListItem.ItemId>
                          <InArgument x:TypeArguments="x:Int32">
                            <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                              <p1:GetCurrentItemId />
                            </p:ExpressionContainerValue>
                          </InArgument>
                        </p1:UpdateListItem.ItemId>
                        <p1:UpdateListItem.ListId>
                          <InArgument x:TypeArguments="s:Guid">
                            <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                              <p1:GetCurrentListId />
                            </p:ExpressionContainerValue>
                          </InArgument>
                        </p1:UpdateListItem.ListId>
                        <p1:UpdateListItem.ListItemPropertiesDynamicValue>
                          <InArgument x:TypeArguments="p:DynamicValue">
                            <p:SetDynamicValueProperties>
                              <scg:Dictionary x:TypeArguments="x:String, InArgument">
                                <InArgument x:TypeArguments="x:String" x:Key="ApproveManagerPossition">Approved</InArgument>
                              </scg:Dictionary>
                            </p:SetDynamicValueProperties>
                          </InArgument>
                        </p1:UpdateListItem.ListItemPropertiesDynamicValue>
                      </p1:UpdateListItem>
                      <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_8">
                        <p1:WriteToHistory.Message>
                          <InArgument x:TypeArguments="x:String">
                            <mca:CSharpValue x:TypeArguments="x:String">"The User: " + CandidateFirstName + " " + CandidateLastName + " was aprroved"</mca:CSharpValue>
                          </InArgument>
                        </p1:WriteToHistory.Message>
                      </p1:WriteToHistory>
                      <p1:Email AdditionalHeaders="{x:Null}" BCC="{x:Null}" CC="{x:Null}" sap2010:WorkflowViewState.IdRef="Email_1" Subject="Your Postulation was Approved">
                        <p1:Email.Body>
                          <InArgument x:TypeArguments="x:String">
                            <mca:CSharpValue x:TypeArguments="x:String">"Contratulaciones, your postulation to: " + PositionSelectedName + " was Approved"</mca:CSharpValue>
                          </InArgument>
                        </p1:Email.Body>
                        <p1:Email.To>
                          <InArgument x:TypeArguments="sco:Collection(x:String)">
                            <mca:CSharpValue x:TypeArguments="sco:Collection(x:String)">ColEmailCandidate</mca:CSharpValue>
                          </InArgument>
                        </p1:Email.To>
                      </p1:Email>
                      <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_2" Reason="The User was rejected by the owner of position" />
                    </Sequence>
                  </If.Then>
                  <If.Else>
                    <Sequence DisplayName="Postulation Rejected Manager" sap2010:WorkflowViewState.IdRef="Sequence_5">
                      <p1:UpdateListItem ItemGuid="{x:Null}" ListItemProperties="{x:Null}" sap2010:WorkflowViewState.IdRef="UpdateListItem_3">
                        <p1:UpdateListItem.ItemId>
                          <InArgument x:TypeArguments="x:Int32">
                            <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                              <p1:GetCurrentItemId />
                            </p:ExpressionContainerValue>
                          </InArgument>
                        </p1:UpdateListItem.ItemId>
                        <p1:UpdateListItem.ListId>
                          <InArgument x:TypeArguments="s:Guid">
                            <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                              <p1:GetCurrentListId />
                            </p:ExpressionContainerValue>
                          </InArgument>
                        </p1:UpdateListItem.ListId>
                        <p1:UpdateListItem.ListItemPropertiesDynamicValue>
                          <InArgument x:TypeArguments="p:DynamicValue">
                            <p:SetDynamicValueProperties>
                              <scg:Dictionary x:TypeArguments="x:String, InArgument">
                                <InArgument x:TypeArguments="x:String" x:Key="ApproveManagerPossition">Rejected</InArgument>
                              </scg:Dictionary>
                            </p:SetDynamicValueProperties>
                          </InArgument>
                        </p1:UpdateListItem.ListItemPropertiesDynamicValue>
                      </p1:UpdateListItem>
                      <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_9">
                        <p1:WriteToHistory.Message>
                          <InArgument x:TypeArguments="x:String">
                            <mca:CSharpValue x:TypeArguments="x:String">"The User: " + CandidateFirstName + " " + CandidateLastName + " was rejected"</mca:CSharpValue>
                          </InArgument>
                        </p1:WriteToHistory.Message>
                      </p1:WriteToHistory>
                      <p1:Email AdditionalHeaders="{x:Null}" BCC="{x:Null}" CC="{x:Null}" sap2010:WorkflowViewState.IdRef="Email_2" Subject="Your Postulation was Rejected">
                        <p1:Email.Body>
                          <InArgument x:TypeArguments="x:String">
                            <mca:CSharpValue x:TypeArguments="x:String">"Sorry, your postulation to: " + PositionSelectedName + " was Approved"</mca:CSharpValue>
                          </InArgument>
                        </p1:Email.Body>
                        <p1:Email.To>
                          <InArgument x:TypeArguments="sco:Collection(x:String)">
                            <mca:CSharpValue x:TypeArguments="sco:Collection(x:String)">ColEmailCandidate</mca:CSharpValue>
                          </InArgument>
                        </p1:Email.To>
                      </p1:Email>
                      <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_3" Reason="The User was rejected by the owner of position" />
                    </Sequence>
                  </If.Else>
                </If>
              </Sequence>
            </If.Then>
            <If.Else>
              <Sequence DisplayName="Owner Rejected" sap2010:WorkflowViewState.IdRef="Sequence_7">
                <p1:UpdateListItem ItemGuid="{x:Null}" ListItemProperties="{x:Null}" sap2010:WorkflowViewState.IdRef="UpdateListItem_4">
                  <p1:UpdateListItem.ItemId>
                    <InArgument x:TypeArguments="x:Int32">
                      <p:ExpressionContainerValue x:TypeArguments="x:Int32">
                        <p1:GetCurrentItemId />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:UpdateListItem.ItemId>
                  <p1:UpdateListItem.ListId>
                    <InArgument x:TypeArguments="s:Guid">
                      <p:ExpressionContainerValue x:TypeArguments="s:Guid">
                        <p1:GetCurrentListId />
                      </p:ExpressionContainerValue>
                    </InArgument>
                  </p1:UpdateListItem.ListId>
                  <p1:UpdateListItem.ListItemPropertiesDynamicValue>
                    <InArgument x:TypeArguments="p:DynamicValue">
                      <p:SetDynamicValueProperties>
                        <scg:Dictionary x:TypeArguments="x:String, InArgument">
                          <InArgument x:TypeArguments="x:String" x:Key="ApproveManagerPossition">Rejected</InArgument>
                        </scg:Dictionary>
                      </p:SetDynamicValueProperties>
                    </InArgument>
                  </p1:UpdateListItem.ListItemPropertiesDynamicValue>
                </p1:UpdateListItem>
                <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_10">
                  <p1:WriteToHistory.Message>
                    <InArgument x:TypeArguments="x:String">
                      <mca:CSharpValue x:TypeArguments="x:String">"The User: " + CandidateFirstName + " " + CandidateLastName + " was rejected"</mca:CSharpValue>
                    </InArgument>
                  </p1:WriteToHistory.Message>
                </p1:WriteToHistory>
                <p1:Email AdditionalHeaders="{x:Null}" BCC="{x:Null}" CC="{x:Null}" sap2010:WorkflowViewState.IdRef="Email_3" Subject="Your Postulation was Rejected">
                  <p1:Email.Body>
                    <InArgument x:TypeArguments="x:String">
                      <mca:CSharpValue x:TypeArguments="x:String">"Sorry, your postulation to: " + PositionSelectedName + " was Approved"</mca:CSharpValue>
                    </InArgument>
                  </p1:Email.Body>
                  <p1:Email.To>
                    <InArgument x:TypeArguments="sco:Collection(x:String)">
                      <mca:CSharpValue x:TypeArguments="sco:Collection(x:String)">ColEmailCandidate</mca:CSharpValue>
                    </InArgument>
                  </p1:Email.To>
                </p1:Email>
                <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_4" Reason="The User was rejected by the owner of position" />
              </Sequence>
            </If.Else>
          </If>
        </Sequence>
      </If.Then>
      <If.Else>
        <Sequence sap2010:WorkflowViewState.IdRef="Sequence_3">
          <p1:WriteToHistory sap2010:WorkflowViewState.IdRef="WriteToHistory_5" Message="The user don't exist in Data Base" />
          <TerminateWorkflow sap2010:WorkflowViewState.IdRef="TerminateWorkflow_1" Reason="The user don't exist" />
        </Sequence>
      </If.Else>
    </If>
    <sads:DebugSymbol.Symbol>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</sads:DebugSymbol.Symbol>
  </Sequence>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="WriteToHistory_1" sap:VirtualizedContainerService.HintSize="1007,68" />
      <sap2010:ViewStateData Id="LookupSPListItem_1" sap:VirtualizedContainerService.HintSize="1007,89">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <scg:Dictionary x:TypeArguments="x:String, msdad:ViewStateNameValue" x:Key="SPLocalizedDisplayNames">
              <msdad:ViewStateNameValue x:Key="ItemId" DisplayName="(current item)" Value="$CurrentItemId" />
              <msdad:ViewStateNameValue x:Key="ListId" DisplayName="(current list)" Value="$CurrentListId" />
            </scg:Dictionary>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="GetODataProperties_1" sap:VirtualizedContainerService.HintSize="1007,92">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:String x:Key="Properties.SelectedEntityType">Lists/Postulations Opportunities Oppened</x:String>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="LookupSPUser_2" sap:VirtualizedContainerService.HintSize="1007,89" />
      <sap2010:ViewStateData Id="GetODataProperties_4" sap:VirtualizedContainerService.HintSize="1007,92">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:String x:Key="Properties.SelectedEntityType">SharePoint_User</x:String>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteToHistory_2" sap:VirtualizedContainerService.HintSize="1007,68" />
      <sap2010:ViewStateData Id="HttpSend_2" sap:VirtualizedContainerService.HintSize="1007,62" />
      <sap2010:ViewStateData Id="GetDynamicValueProperty`1_1" sap:VirtualizedContainerService.HintSize="1007,22" />
      <sap2010:ViewStateData Id="WriteToHistory_4" sap:VirtualizedContainerService.HintSize="1007,68" />
      <sap2010:ViewStateData Id="HttpSend_1" sap:VirtualizedContainerService.HintSize="738,62" />
      <sap2010:ViewStateData Id="GetODataProperties_2" sap:VirtualizedContainerService.HintSize="738,92" />
      <sap2010:ViewStateData Id="WriteToHistory_3" sap:VirtualizedContainerService.HintSize="738,68" />
      <sap2010:ViewStateData Id="LookupSPUser_1" sap:VirtualizedContainerService.HintSize="738,90" />
      <sap2010:ViewStateData Id="GetODataProperties_3" sap:VirtualizedContainerService.HintSize="738,92">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:String x:Key="Properties.SelectedEntityType">SharePoint_User</x:String>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteToHistory_6" sap:VirtualizedContainerService.HintSize="738,68" />
      <sap2010:ViewStateData Id="AddToCollection`1_1" sap:VirtualizedContainerService.HintSize="738,22" />
      <sap2010:ViewStateData Id="SingleTask_1" sap:VirtualizedContainerService.HintSize="738,90" />
      <sap2010:ViewStateData Id="UpdateListItem_1" sap:VirtualizedContainerService.HintSize="469,68">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <scg:Dictionary x:TypeArguments="x:String, msdad:ViewStateNameValue" x:Key="SPLocalizedDisplayNames">
              <msdad:ViewStateNameValue x:Key="ItemId" DisplayName="(current item)" Value="$CurrentItemId" />
              <msdad:ViewStateNameValue x:Key="ListId" DisplayName="(current list)" Value="$CurrentListId" />
            </scg:Dictionary>
            <x:String x:Key="ListItemPropertiesDynamicValue.SelectedEntityType">Lists/Postulations Opportunities Oppened</x:String>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteToHistory_7" sap:VirtualizedContainerService.HintSize="469,68" />
      <sap2010:ViewStateData Id="SingleTask_2" sap:VirtualizedContainerService.HintSize="469,90" />
      <sap2010:ViewStateData Id="UpdateListItem_2" sap:VirtualizedContainerService.HintSize="200,68">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <scg:Dictionary x:TypeArguments="x:String, msdad:ViewStateNameValue" x:Key="SPLocalizedDisplayNames">
              <msdad:ViewStateNameValue x:Key="ItemId" DisplayName="(current item)" Value="$CurrentItemId" />
              <msdad:ViewStateNameValue x:Key="ListId" DisplayName="(current list)" Value="$CurrentListId" />
            </scg:Dictionary>
            <x:String x:Key="ListItemPropertiesDynamicValue.SelectedEntityType">Lists/Postulations Opportunities Oppened</x:String>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteToHistory_8" sap:VirtualizedContainerService.HintSize="200,68" />
      <sap2010:ViewStateData Id="Email_1" sap:VirtualizedContainerService.HintSize="200,68" />
      <sap2010:ViewStateData Id="TerminateWorkflow_2" sap:VirtualizedContainerService.HintSize="200,22" />
      <sap2010:ViewStateData Id="Sequence_4" sap:VirtualizedContainerService.HintSize="222,470">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="UpdateListItem_3" sap:VirtualizedContainerService.HintSize="200,68">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <scg:Dictionary x:TypeArguments="x:String, msdad:ViewStateNameValue" x:Key="SPLocalizedDisplayNames">
              <msdad:ViewStateNameValue x:Key="ItemId" DisplayName="(current item)" Value="$CurrentItemId" />
              <msdad:ViewStateNameValue x:Key="ListId" DisplayName="(current list)" Value="$CurrentListId" />
            </scg:Dictionary>
            <x:String x:Key="ListItemPropertiesDynamicValue.SelectedEntityType">Lists/Postulations Opportunities Oppened</x:String>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteToHistory_9" sap:VirtualizedContainerService.HintSize="200,68" />
      <sap2010:ViewStateData Id="Email_2" sap:VirtualizedContainerService.HintSize="200,68" />
      <sap2010:ViewStateData Id="TerminateWorkflow_3" sap:VirtualizedContainerService.HintSize="200,22" />
      <sap2010:ViewStateData Id="Sequence_5" sap:VirtualizedContainerService.HintSize="222,470">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_2" sap:VirtualizedContainerService.HintSize="469,622" />
      <sap2010:ViewStateData Id="Sequence_6" sap:VirtualizedContainerService.HintSize="491,1092">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="UpdateListItem_4" sap:VirtualizedContainerService.HintSize="200,68">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <scg:Dictionary x:TypeArguments="x:String, msdad:ViewStateNameValue" x:Key="SPLocalizedDisplayNames">
              <msdad:ViewStateNameValue x:Key="ItemId" DisplayName="(current item)" Value="$CurrentItemId" />
              <msdad:ViewStateNameValue x:Key="ListId" DisplayName="(current list)" Value="$CurrentListId" />
            </scg:Dictionary>
            <x:String x:Key="ListItemPropertiesDynamicValue.SelectedEntityType">Lists/Postulations Opportunities Oppened</x:String>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteToHistory_10" sap:VirtualizedContainerService.HintSize="200,68" />
      <sap2010:ViewStateData Id="Email_3" sap:VirtualizedContainerService.HintSize="200,68" />
      <sap2010:ViewStateData Id="TerminateWorkflow_4" sap:VirtualizedContainerService.HintSize="200,22" />
      <sap2010:ViewStateData Id="Sequence_7" sap:VirtualizedContainerService.HintSize="222,470">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_3" sap:VirtualizedContainerService.HintSize="738,1244" />
      <sap2010:ViewStateData Id="Sequence_2" sap:VirtualizedContainerService.HintSize="760,2272">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WriteToHistory_5" sap:VirtualizedContainerService.HintSize="200,68" />
      <sap2010:ViewStateData Id="TerminateWorkflow_1" sap:VirtualizedContainerService.HintSize="200,22" />
      <sap2010:ViewStateData Id="Sequence_3" sap:VirtualizedContainerService.HintSize="222,254">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="If_1" sap:VirtualizedContainerService.HintSize="1007,2424" />
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="1029,3549">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="WorflowApproveCandidates.WorkFlowApproveCandidate.Workflow_1" sap:VirtualizedContainerService.HintSize="1069,3629">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="ShouldExpandAll">True</x:Boolean>
            <x:Boolean x:Key="ShouldCollapseAll">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>